import { createBrowserRouter } from 'react-router-dom';
import Home from '../views/Home';
import About from '../views/About';
import App from '../App';

const router = createBrowserRouter([
  {
    path: '/',
    element: <App />,
    children: [
      {
        path: '/home',
        element: <Home />
      },
      {
        path: '/about',
        element: <About />
      },
    ]
  },
])

export default router;